package quoridor;


public class QuoridorAction implements Action {
	ActionType actionType;
	Move move;

	public QuoridorAction (ActionType actionType) {
		this.actionType = actionType;
		move = null;
	}
	
	public QuoridorAction (Move move) {
		this.actionType = ActionType.MOVE;
		this.move = move;
	}
	
	public Move getMove() {
		return move;
	}

	@Override
	public ActionType getType() {
		return actionType;
	}
}
